mem/test: change how error injecting is done
mem/test: change how error injecting is done

This changes from a passed vector of Fn closures to a single FnMut that
will be called repeatedly.

This also adds all arguments to every enum.

twmb/rsfs