Allow non-objectMode
Add tests