added get_base_chain and get_ancestor_link test cases and models