add a way to test assertions about neighboring nodes in local debug mode