Adds phantomjs launcher and fixed npm test command