#2578 unit tested field variable caching