NXCM-4928: Bumped Junit to 4.11

And some UTs needed a change, as behaviour of
rules changed, AssertionError is not handled anymore