Added unit test for AgnRemoveChildrenVisitor class