added ability to test scripts without connecting to an irc server, making debugging easier.