Move the equivalence check to its own file. Wrapped it in a function. Fixed a bug in the test script.
Worked on the error, that leads to anonymous structs are considered to be equivalent.