Improving Tests for archive Package

used more specific asserts
reordered code
simplified test code