Avoid GHC stage restriction in tests.