add some simple unit tests
Merge pull request #3 from clibs/add/simple-unit-tests

add some simple unit tests