Reset state of weechat module between tests.