basics for API test, POST and GET
Add test for PATCH