setup travis and fix test