Adding test case for https://github.com/kazu-yamamoto/ghc-mod/issues/336