Coded tests for renderFrame.