Update CAS example
Fix test consistency