DeleteNodeListener unit test.
DeleteNodesListener unit test and a couple of minor tweaks to the listener.