Add test case for base64 encoding.

Add test case for base64 encoding.

Signed-off-by: ztzhang <zhentao.zhang@netgear.com>