Add test coverage for base64 polyfilling