[1.9.x] + fix the test to echo only read part of the byte[]