fixing parser read_only test