DW: Added test for put method