OSGi : add unit tests #13

There is some more work to do but this can be the basic for OSGi unit tests