test for put operations