EZP-21219: Integration test for archived versions

Adding integration test on archived versions for issue EZP-21219