Fix fail of unittest.