Fix tests. Add Vec<u8> conversion to StrBuf.