Merge "Add some tests for os_update_readonly_flag"