Test adapter/accessor memoization using state checks