Completed the archive step and a simple test case