Implemented test for CudaVector