add some unittest