Ignore warning messages in testing

It varies with GHC version