add testutil namespace and remove some warning