[GHC] #8034: Missing ambiguity test for class methods