Fixed compilation error in a test case