Fixes invalid assertion
Adds test_find_common_ancestor