change the test so it works on both backends
Scalar->Number