TST: Change a failing wb test #8768

Fixes a previously poorly designed test in io.wb.