Fix base64 endcode/decode sizes, and added more tests