Updated testsuite to use WebDriver with PhantomJS headless browser