@Test
public void testBaseLookup() throws NamingException
{

   BundleMock mock = new BundleMock("scooby.doo", new Properties());
      
   Thread.currentThread().setContextClassLoader(mock.getClassLoader());
   InitialContext ctx = new InitialContext();
   
   Context ctx2 = (Context) ctx.lookup("osgi:service");
   
   Runnable r1 = (Runnable) ctx2.lookup("java.lang.Runnable");   
   assertNotNull(r1);
   assertTrue("expected proxied service class", r1 != service);
   
   Runnable r2 = (Runnable) ctx.lookup("aries:services/java.lang.Runnable");
   assertNotNull(r2);
   assertTrue("expected non-proxied service class", r2 == service);
}