Tests for read-only mode