Node-irc-test is a project mainly written in JavaScript, it's free.
test node-irc http://readthedocs.org/docs/node-irc/en/latest/
node.js irc client test