This message seems too cryptic. Please consider splitting this into separate x and y tests with a more specific message. Perhaps, *"the source x is scalar but the target x is not"*