Cleaned up tests.
Refactored tests for diff_structures().