fix phpunit
ensure that response body is empty when image present so nothing gets send after image was sent