Already fixed during work on
ECA-5021, but it needed some testing so I'm committing it under a new issue.
The problem is that statedump fails to import dumps if certain strange Subject DNs are present. Perhaps not very likely to happen in production systems, but it prevents the test from running if you have this CA on your development system. So a fix was needed.