Removed assertAlmostEquals delta keyword usage to support Python 2.6.
Removed usage of collections.Counter to support Python 2.6.