More fixes on test_casearchived after historic cases refactoring