Testing isEqual() functionality and some other basic tests