[fix test] make test 0.8 friendly