    @Test
    public void testGetQuestions() throws TTransportException {

        String q1 = "?:What is blue? ?:What is green?";
        Output output = SearchTool.getQuestions(q1);
        assertEquals("What is blue?", output.items.get(0));
        assertEquals("What is green?", output.items.get(1));
        assertEquals("", output.query);

        String q2 = "colors ?:\"What is red?\" ?:What is green?";
        output = SearchTool.getQuestions(q2);
        assertEquals("What is red?", output.items.get(0));
        assertEquals("What is green?", output.items.get(1));
        assertEquals("colors", output.query);

        String q3 = "colors ?:\"What is red\" ?:\"What is green?\" test";
        output = SearchTool.getQuestions(q3);
        assertEquals("What is red", output.items.get(0));
        assertEquals("What is green?", output.items.get(1));
        assertEquals("colors   test", output.query);
    }