Implement test for set_left_child