API improvement: archive.core_type instead of archive.get_core_type().
More tests.