serialize: base64: remove some .as_bytes() from the tests