Fix tests with new strbuf