Mimic the default behavior of weechat.buffer_get_string() in tests.
Mimic the default behavior of weechat.buffer_get_string() in tests.

It returns the empty string by default. We should do the same for tests. This
revealed a bug in one of the tests, which this commit also fixes.

s3rvac/weechat-notify-send