Regression fix for object cache test.