A New Fault Injection Approach for Testing Network-on-Chips