BUG-584: Added test for OSGi metadata.

Change-Id: I225ffa4b5b85fda03e31b238f51151fd89bb6b17
Signed-off-by: Martin Vitez <mvitez@cisco.com>
(cherry picked from commit 0b096ed320120859d43377bba9164b5a67b3a515)
Merge "BUG-584: Added test for OSGi metadata." into stable/hydrogen