fix bugs about run unittest

fix bugs about run unittest