Add unit test
Merge pull request #28 from fezfez/karma-unittest

Add unit test