Added test for piping through es.readArray
Fixing lost data on piping from es.readArray