Karma and jasmine working with testing