add test script
- few alterations in tests
- add some tests for check of archive integrity