adding unit test for CAS mutation

added test case