fix test8 unit test