base64_convert: changes buffer size logic. Added tests for overflow logic to exe file