5446: Fixed the issue with restoring tests from backups.