fix dispatch tests