(fix) Fixed broken karma tests. They now work when typing 'grunt' from c...

...ommand line