Add b64 encoding test

(this is awful)