Add tests and travis