Fix test_casearchived after historic cases refactoring