Add junit test classes.

Signed-off-by: Steve Missing <nevermissing@vip.qq.com>