The ESP diag test is a PITA! In my case the ESP itself was fine and all the issues were paper-related. It's possible you're encountering the same thing.
The Carriage Assembly diag test includes an ESP test. It doesn't tell you however that paper must be loaded for that part of the test (and unloaded for other parts)

Without paper it will fail. And if you skip the ESP test step instead, the entire Carriage Assembly diag test fails. So it's bad test instructions, not hardware issues.
There is a separate ESP test, on the diag test menu as test #6 "SOL" (at least on my Z3200ps Rev B 24"). Do that one instead. This test actually prompts for paper. It can fail on matte paper (not bright/shiny enough I guess) so use a glossy/satin paper.
During that ESP / SOL test you can see the shutter door open and its lighting up the paper (see pics).
This should confirm if your ESP is ok.
All my 58:10 issues (during cal/profile scanning) were caused by paper curl..., or at least fixed by not using curled / end-of-roll paper. If I used less-curled paper, even by manually reverse rolling the leading edge of the roll before using it, it worked fine. Ditto for paper loading fails, like "paper edge not detected" etc. My Z3200 seems much more sensitive to paper issues than my Z3100 was. I could probably load dirty socks into my Z31 and it wouldn't care, but my Z32 is little prince fussy pants.
