Add tests for newNeighborsOnly