[iwhd] tests: fix bug introduced on by v1.2-13-g27f3713