fix karma test
Merge pull request #20 from victorleungtw/master

fix karma test