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

...d and fixed tests.
I think it makes sense to keep it to explain why that delete is there but if the delete alone is enough I'll remove it.