>but out here in reality
This, I expect, is exactly the kind of bad cultural attitude that @mabbo was referring to. You're advocating for accidents as being an unavoidable cost of business while preemptively hand-waving them as being the fault of careless employees or fate.
As @P5fRxh5kUvp2th points out, there are established industry safety measures to avoid exactly these kinds of accidents when working around dangerous machinery, in the lockout/tagout system.
If tests are locked out while employees are tagged into an area, you can't accidentally smack them into a coma with an over-pressurized part blowing out. By requiring tag ins to access dangerous areas, you don't have to have employees remember someone is out there, or that a test is coming, or worry about anyone getting confused on either front.
Blaming the employee for being where they shouldn't be or the other for running tests when someone was nearby is a cop out. It shouldn't even be possible for it to happen at all.
Design your systems and processes to expect that humans are fallible.