@Test
public void testSecondQueryIssue() throws Exception {

    List input = Arrays.asList(new Object[] {"1"});
    BagQueryResult res = runner.searchForBag("Employee", input, null, true);
    Assert.assertEquals(0, res.getMatches().values().size());
    Map expected = new HashMap();
    Map queries = new HashMap();
    List ids = new ArrayList(Arrays.asList(new Object[] {eIds.get("EmployeeA1")}));
    Map results = new HashMap();
    results.put("1", ids);
    queries.put("employee end", results);
    expected.put(BagQueryResult.OTHER, queries);
    Assert.assertEquals(expected, res.getIssues());
    Assert.assertTrue(res.getUnresolved().isEmpty());
}