ipEqual: more checks and more tests