Fixed cuda test