TST: Added test for != and == with nonzero scalars.