Invalid mount mode for volumes in

Add test for invalid mount mode for volumes in.
Closes #8389.
What about "parent" (on its own)?

Was that supposed to work on its own?