Reduce the load of unit tests
Fix NPE caused when process fails to launch.
Setup OSGi bundle generation.