add the support for testing the random failure

you mean use config to set t.failLevel?