Add equality/equivalence tests to shell