Shutdown listener for OSGi services.
Fixed tests before launch.