Fixing problem with CAS param removal in tests