Fix memory leak when wrong object type is looked up from cache Update unit test accordingly : no need to close