corrected objEq, added unit tests