When you’re testing OSGi bundles, some little differences are present and we’ll start by discussing unit testing, since that’s the simplest case in many ways. We’ll then show you some tools and strategies that we hope you’ll find useful for integration and system testing. Full article to explain is present on How to test OSGi Applications? on http://www.javabeat.net/.
Other good presentation with more information of strategy of versioning is present on this presentation
OSGi Versioning & Testing from Chris Aniszczyk
Here