Fix halt test [skip ci]