add tests and update travis