@Test
public void testGetDirtyMaskExpression() throws Exception {

    final Properties properties = new Properties();
    properties.load(getClass().getResourceAsStream("config.properties"));
    configuration.add(properties);
    assertTrue(configuration.containsValue("mms.dirty.atsr.1"));
    assertTrue(configuration.containsValue("mms.dirty.atsr.2"));
    assertTrue(configuration.containsValue("mms.dirty.atsr.3"));
    assertEquals("(cloud_flags_nadir & 3 != 0) || (cloud_flags_fward & 3 != 0) || nan(btemp_nadir_1100) || nan(btemp_fward_1100)",
            configuration.getDirtyMaskExpression("atsr.1"));
    assertEquals("(cloud_flags_nadir & 3 != 0) || (cloud_flags_fward & 3 != 0) || nan(btemp_nadir_1100) || nan(btemp_fward_1100)",
            configuration.getDirtyMaskExpression("atsr.2"));
    assertEquals("(cloud_flags_nadir & 3 != 0) || (cloud_flags_fward & 3 != 0) || nan(btemp_nadir_1100) || nan(btemp_fward_1100)",
            configuration.getDirtyMaskExpression("atsr.3"));
}