[Git][ghc/ghc][wip/sjakobi/T2057] Add regression test for #2057