Added ability to run the tests in PhantomJS (headless WebKit)