add test example for invalid params on the PUT method