Add __repr__ to IrcContext for easier debugging.
Add test for session initiation.