[#1066] Implement test for PATCH method