add some unit test cases