Upgrade test fixture to include endFrame function.