Fix all existing unit tests for SigmaEC and add several toString() and equals() implementations.