fix test case bug