'Parse the results, do some test and return the data to check.'

def _parseModeChange(self, results, target=None):

    if (target is None):
        target = '#chan'
    for (n, result) in enumerate(results):
        (method, data) = result
        self.assertEqual(method, 'modeChanged')
        self.assertEqual(data['user'], 'Wolf!~wolf@yok.utu.fi')
        self.assertEqual(data['channel'], target)
        results[n] = tuple([data[key] for key in ('set', 'modes', 'args')])
    return results
