testcode phantomjs init