ISPN-800 Tests for library mode

* also formatting changes in core/pom.xml
ISPN-800 The osgi test bundle should export the test packages as they might contain classes which need to be loaded by ispn.