Regression test for load_structure and clone_structure