Test correct archive is used