some basic unit tests for the irc lib