Remove unused helper methods in build.gradle
Add the test which can find a bug when a command receives a response body over a buffer size