Test how read only access works