Add test on containing object in record cache