Fix size based transfer in the test-client