return the mock object for getModel() calls for core/cookie as well as getSingleton