fix test in 3.x