Implemented @dsullivan7 corrections
Cleaned up test_neighbors.py