1. fixed base encode first '\n' problem
2. don't add '\0' postfix
3. add base64_test test case
-