Got tests working with Karma 0.10.2. Using  in authentication/service.js