Fix broken unit test for lib/dispatcher.