Added phantomjs dependencies
added code coverage