add tests for base64 decoding