Add basic unit tests and travis config file