Fixed autocomplete test case failures
Merge pull request #2759 from aparajit-pratap/fixAutoCompleteTests

Fixed autocomplete test case failures in CI