Many years ago I was running some tests on a piece of commercial,non aviation, software when it "misbehaved".
I showed it to the programmer who looked quizzical and said "I wondered if it would do that".
Software, in all environments, has evolved but testing still depends (to a degree) on the tester trying to outwit the programmer!