refactor archiveAll test