add the support for testing the random failure

I set it up this way so that it will pass test. I can change it if you want to, but can you take over and start to figure out why the test would not run if I change the level to say 5?