Created test for put and correct failure