Add test for hash(Expr)