[Yujun] Fixed autocomplete test.