fix test on 1.9+