There seems to still be many `assertGreater(len(x), 0)` in the code where there are also `assertEqual(x, y)`, so the first check is unneeded.