Working test script for rendering a page