Fix dispatcher test