expr: tests and more functionality for scalar_coerce