[Git][ghc/ghc][wip/int-index/error-codes] Increase test coverage of diagnostics, batch 2