Testing AngularJS Jasmine and Karma