Fixed #23911 -- Added support for buffer file uploads in the test client