fix test compilation problems