Add simple unittests
Merge pull request #82 from joequery/unittests

Add simple unittests