A comparison of network level fault injection with code insertion