Copy a missing test from the cuda ones.