Support multiple GHC versions in the testsuite