More tests.
Added tests for wrong CAS.