Unit test to check locale of handles created with `createPipe`