fix test compilation error