Some equality tests

@alazier @kspangsege 
A lot of Apple stuff will log warnings with NSLog when you do incorrect things they're not willing to make an error.