Hi GaRv3,
This may be covered elsewhere, but have you tried increasing the travel speed in your test gcode?
ie, "G1 Z10 F50" to "G1 Z10 F300" or similar?
You could also try adding an H value to M915, such as "M915 P2:4 H10 S-10 F0 R1"
"Hnnn (optional) Minimum motor full steps per second for stall detection to be considered reliable, default 200"
I admit I am not certain of the exact relationship between mm/minute and steps per second, but I think you have
400 steps/mm;
10mm/minute;
=4000 steps/minute;
=66 steps/second.
Personally I haven't had much luck tuning Z stall detect to where I would use it as a safeguard, however I am logging messages during a regular print.
On my machine I have both Z stepper motors on Drive 2 (option B on the "Duet Wifi/Duet Ethernet Connections" image)