rename also doctest and fix other test
fix some of the test errors

Tests failing on py27 is due to bug in irc3. Ignoring for now