update automtest with the new syntax of the dispatcher