Fixed unit tests for archive module

Fixes lint issues in #18932