Instead of deleting elements, consider using `self.assertDictContainsSubset`[http://docs.python.org/2/library/unittest.html#unittest.TestCase.assertDictContainsSubset]