Use structure matcher to eliminate duplicate slabs.
Some more unit tests.