Added test from webdriverjs using phantomjs.