test registry$get and set methods