all IRC messages must end with \r\n

Refactor the tests to automatically add a line-ending and clear out the
response from the bot.