DP 2775: fixing broken test - adding missing var keyword