testing 204 response does not throw and returns empty string as expected