Add unit tests
Add support for Travis-CI