fix test for 0.8.x