Invalid mount mode for volumes in

Add test for invalid mount mode for volumes in.
Closes #8389.
it defaults to read write