updated tests, added isequals and == for ScalarExpr