Setup testing
Fix test and add travis config