Added some more checks to the test for CudaMatrix
Added some more tests and renamed the test for transfers.