agnosticbin: Add a test with multiple outputs forcing reconfiguration

Change-Id: Ibc84629a0abec9b44964e740aa486cc81e397720
agnosticbin: Minor code reorganization

Change-Id: I5c5f0407c1ef82cfee55b8b23fa60ea6ac6ab183