add sync.dispatch tests