Added (very) simple unit tests. Run them with mocha or make test.
Merge pull request #82 from glenwayguy/master

Added (very) simple unit tests. Run them with mocha or make test.