fix test case compile error