GH-38: Simulate some failures and errors.
GH-38: Simulate some failures and errors.

randomizedtesting/randomizedtesting,rmuir/randomizedtesting,randomizedtesting/randomizedtesting,carrotsearch/randomizedtesting,rmuir/randomizedtesting,rmuir/randomizedtesting,javanna/randomizedtesting,carrotsearch/randomizedtesting,randomizedtesting/randomizedtesting,javanna/randomizedtesting,randomizedtesting/randomizedtesting,carrotsearch/randomizedtesting,carrotsearch/randomizedtesting,randomizedtesting/randomizedtesting,javanna/randomizedtesting,carrotsearch/randomizedtesting,rmuir/randomizedtesting,javanna/randomizedtesting,rmuir/randomizedtesting