Unit test for OsgiSpringComponentCollector