@Test
public void testCopyData() {

    Map<String, List<Object>> data = new HashMap<>();
    data.put("Foo", Lists.newArrayList(1, 2, 3, 4));
    data.put("Bar", Lists.newArrayList("a", "b", "c", "d"));
    QueryResults queryResults = new QueryResults(data);
    QueryResults copy = new QueryResults(queryResults.copyData());
    assertEquals(queryResults.getColumns(), copy.getColumns());
    assertEquals(queryResults.getRows(), copy.getRows());
}