Fix test after marking it as read only