couldn't we check the rendering instead of monkey patching the object we're testing ?