fixes patch request test