Invalid mount mode for volumes in

Add test for invalid mount mode for volumes in.
Closes #8389.
:+1: need a test for that too unless it's already somewhere