Fix tests for bytestring builder