add tests for archive commands