This is related to
Beside raw unit/e2e tests, we should be also covering OSGi runtime.
As part of this task at least a basic OSGi test should be added, that would use SecurityManager
and properly set Java 2 Security Permissions.
If there is a switch to run with/without SecurityManager, a new hudson job must be introduced
to continuously cover both areas.