Add unittests to ensure that from_dict returns correct type for
IStructure/IMolecule vs standard Structure/Molecule.