types.ListType and types.TupleType are aliases of the the built-in list and tuple.
Removed a forgotten pdb line.
Tests polishing: using self.assertEqual(val1, val2) instead of self.assertTrue(val1 == val2)