Handle Operation not supported exception.
Add test for read-only