driver: Add test for #12983

This test has worked since 8.10.2 at least but was recently broken and
is now working again after this patch.

Closes #12983
24 jobs for master in 14 minutes and 26 seconds (queued for 1 second)
latest