Reproducible test working with failures