I think those three lines are equivalent to `failures[[test]] <<- new_failure`