test for #get and #set