Test case for rendering to callback.