test for put mathod passed