Update UnitTests.cpp

Fixing compilation error.