fix dispatcher test