Add unit test framework.

Signed-off-by: CyberZHG <CyberZHG@gmail.com>