Add test units

Add test units with [Jasmine Test Framework](https://github.com/mhevery/jasmine-node)