AncestorBehavior update + added some tests for it