fix test for 2.7