+tests of dispatcher and provider +bugs fixed