Fixed autocomplete test case failures in CI