RendererMixin will soon be removed but this removal and the corresponding test changes stand on their own.
This is preparation for landing the template-based widget rendering patch and goes a long way to making these tests more useful for future development. The old doctest heritage is strong here.