Some equality tests

@alazier @kspangsege 
No matter what we decide to do, please remember to state it clearly in the documentation.