add dispatch promise tests