fixed tests, failing with different order of erros
safe delete for PATCH