1.Add unit tests; 2.Fix many bugs