Add unitest
Merge pull request #32 from fezfez/karma-unittest

Add unitest