testing the getObj() function
adding an object cache