Added test for archiving