Made test ghc-7.4 compatible