How to do Apple Diagnostics on Macbook pro with a dead screen?
This may not work in diagnostics recovery mode, but its worth a try.
After booting into diagnostics mode with the D key at boot, try pressing Command and F5 keys, to activate voicover utility. Then, navigate the utility using voiceover.