min_neighbors testing