updated urlRoot in karma.config.js and changed urls in test files