make TestNode fire event when duplcate node
remove commented out lines
removed unused methods
rename method