tests: Fix bonding related test failures.