added testing script; removing leaf node is not working for some reason