testing serving up rendered content through phantomjs