I propose to add some Karaf integration tests under osgi/karaf/itests. I will code them for Karaf 4 unless someone expresses deep sadness at this prospect.
I will do this work on the 3.1.x branch and merge it to master, since the OSGi versions appear to be in an odd state on master.