added some test for deleteNode