Good to see some test cases.

Although I assume you have tested it, this should also include
i) Some tests that only call one function - otherwise a bug in the two functions might cancel each other out.
ii) It should include some non-printing characters and characters with the top bit set.
iii) zero length strings
iv) decoding invalid base-64 strings.