refine cunit main function
add more function