[java] using phantomjs for test execution.