Fix test for patch request