Avoid using deprecared junit classes
Upgraded (test) dependencies and mvn plugins to latest versions