Uhh, this seems a bug in the testing suit? For scalar arrays, it apparently does not compare the shape. Anyway, please just fix the test with the correct array result. Will open an issue about the testing thing, but not sure if it is a real issue or not.