Invalid mount mode for volumes in

Add test for invalid mount mode for volumes in.
Closes #8389.