Add some basic unit tests
Merge pull request #9 from grilix/tests

Add some basic unit tests