unit test for phantomjs simple form