add tests and update travis to execute tests