Add tests on old libraries and ghc-7.8