Fix tests for GHC 7.10