Skip test if cuda not available