Mocks for readable, writable and duplex streams