This looks like it's changing the software under test, which raises a red flag for me.  Why did you need to make this change?