@Test
public void testGetExtensionBundlesByBucket() {

    final List<BundleEntity> bundles = metadataService.getBundlesByBucket("3");
    assertNotNull(bundles);
    assertEquals(3, bundles.size());
    final List<BundleEntity> bundles2 = metadataService.getBundlesByBucket("6");
    assertNotNull(bundles2);
    assertEquals(0, bundles2.size());
}