Add add_fragment() and separate_fragments() in Molecule and their tests