add unitest file,final commit for v1