add test case for irc