fixes for put
better behavior on tests
tests passing OK
get/put/tests done