Fix failing test on 0.8