Fix test case compilation