Add test for archive