Added tests for structural comparison