test if the arguments are passed to the confirm and cancel methods