Finish cumul
Fix tests and add Travis CI