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