Some helper classes for doing OSGi tests