test base64 encoding