MockPopen can be initialized using any stream (rather than just strings)