Made MasterFailureTest more robust.