Add tests for CASClient
Remove deprecation warning from reexp matching