add more unittests.