added test that ensures that phantomjs environment is ok