Test the render method.