Improve test and add travis