Invalid mount mode for volumes in

Add test for invalid mount mode for volumes in.
Closes #8389.
Can you do a `runCommandWithOutput` and also print out the output in `%q` ?