NeighborCaches: added tests.