Jasmine test working with karma