fix karma test
Merge pull request #3 from nchaulet/master

fix karma test