Added osgi examples and tests