MDLSITE-2106 cover bad 'var' usage in unit tests.