add simple tests for addNode / getNodeByAddr