Added equals verification here
Start of unit tests for this piece of code (which does not work right yet)