    @Test
    public void testIndexIdExtra() throws Exception {

        IndexKey ID_INDEX = IndexKey.of("id");
        Set<IndexKey> indexKeySet = Sets.newHashSet(
                ID_INDEX
        );
        IndexedQueryPlanner planner = new IndexedQueryPlanner(indexKeySet);
        QueryStrategy strategy = planner.plan(parseFilter("id = '1' AND pants = '2'"));
        Assert.assertFalse(strategy.scan);
        Assert.assertEquals(strategy.indexes.size(), 1);
        Collection<IndexStrategy> q = strategy.indexes.get(ID_INDEX);
        Assert.assertEquals(q.size(), 1);
        Iterator<IndexStrategy> strategyIterator = q.iterator();
        IndexStrategy strategyKey = strategyIterator.next();
        Assert.assertEquals(strategyKey.filter.toString(), "(EQ (READ_FIELD L13:1 row, pants), (LITERAL L21:1 2))");
        Assert.assertEquals(strategyKey.indexFilter.get("id").toString(), "(EQ (READ_FIELD L0:1 row, id), (LITERAL L5:1 1))");
    }