add missing test cases into unittests