Issue with undeploy

As we chatted the other day I send a pull request with the issue I had with the bundle undeployment by the container. I guess this is not being done on purpose, since the code is already in a test, but I could not figure out why. 

We can't have that here unfortunately. What you say is true, we do however have test clients that explicitly test for that behaviour. i.e. The call bundle.uninstall() and expect a later class load to succeed until the bundle is refreshed.

The refresh is the responsibility of the test case and not the test infra. This is in line with the framework itself - refresh must be done explicitly - it is not implicitly part of Bundle.uninstall