Dispatch controller unit tests