fixed the test and silence some warnings coming from Net::HTTTP when not providing a body to write_request()