fix test_index_has_host() test, too narrow