Implement TestDispatcher for use in other applications' tests.