Jormungandr: fix tests on autocomplete