Neighborhood query test working