HUE-1189 [beeswax] Autocomplete failure should not 500 the page

Fix tests