test: verify `objectMode` on duplex streams