fix tests on 0.8