[Git][ghc/ghc][wip/jeltsch/obtaining-os-handles] Add tests for obtaining operating-system handles