add unitTestCase class and update units tests
fix update unit test