test base64 encoding of strings