add read_only test