switched karma testing browser to phantomjs