Working tests and travis file