Adding static cache for registered objects for running unit tests.