[DOXIA-602] Code improvements for Junit

- convert to Junit4 notation (remove TestCase)
- remove deprecated method calls
- simplify assertions
48 files changed