add tests for irc-credentials module
fix irc tests