Add test and travis support