Support unit tests and travis-ci integration