add tests and travis