Add unit test for processors and oauth service