fixed dispatch tests