added detailed neighbor detection test