@Test
public void testMODIS1KM() {

    Product product = new Product("dummy", "dummy-modis1km", 2, 2);
    MetadataElement root = product.getMetadataRoot();
    MetadataElement globalAttributes = new MetadataElement("Global_Attributes");
    globalAttributes.setAttributeString("title", "HMODISA Level-2 Data");
    globalAttributes.setAttributeString("spatialResolution", "1 km");
    root.addElement(globalAttributes);
    assertEquals(Instrument.MODIS, DetectInstrument.getInstrument(product));
}