Fixed compilation error of unit tests.