Added some basic unit tests for travis-ci