all tests pass with base64 encoding