Finished porting cas test to ginkgo