Add travis support and a test