test for PUT