Add tests for get_section_parent