adds tests for archive methods