Add tests for `Base64Encoder` class