Add unit tests

Create boilerplate for unit tests. This pull request should solve issue #47.