modularise put-get-del-test