Revert "DP 2775: fixing broken test - adding missing var keyword"

This reverts commit 66ab7856f7bb637b3f6a4fced9b419aa6735e2f7.