fix tests on 5.8.9