REVIEW [NX-468] modern tests on karaf

https://issues.sonatype.org/browse/NX-468

Builds on top of #619