Refactored diff tests. Added test for Differ.