app/test: unit tests for bonding mode 4