Simplify TestRenderWithoutExceptions.

Signed-off-by: Daira Hopwood <daira@leastauthority.com>