Corrected logic error in unit test after noting an unused variable during self-review and then doing some fault injection to see if the test failed (which it didn't). The test now detects the fault as a failure and passes with the unmodified code.