Fixes autocomplete uris and corresponding tests.