Unit tests
Merge pull request #20 from munissor/js-tests

Unit tests