MULE-7840: Upgraded junit to 4.11. Changed mockito-all for core. Adjuste...

...d and fixed tests.