Unit tests for the archive unarchive content rules

* Feature: WIP created unit tests for the archive unarchive content rules
  [ghicaale refs #20287]