@Test
    public void testMultipleFilters() throws Exception {
        final Properties[] configs = new Properties[] { new Properties(), new Properties() };
        configs[0].setProperty("type", "Zero");
        configs[1].setProperty("type", "Wan");
        configs[1].setProperty("median_latency", "250");
        final FilterFactory ff = new FilterFactory(configs);
        final Filter[] filters = ff.getInstances(new MockConnectionProcessor());
        Assert.assertEquals(configs.length, filters.length);
        Assert.assertEquals(filters[0].getClass().getName(), ZeroFilter.class.getName());
        configs[1].setProperty("median_latency", "200");
        Assert.assertEquals(filters[1].getClass().getName(), WanFilter.class.getName());
    }