Add CreateArchive and tests