fix osgi tests
fix osgi tests