[C] Refactoring - moving more tests to use compare methods.
[C] Add base64 decode functions.