adding unit test on remove node