Fix tests and run travis for GHC 7.8