fix osgi test