base64/unbase64 + unit tests