fix test script on 1.8