add test for PATCH request