Fixed test and added travis support