Add test and some travis fixes - but database differences are unresolved