@Test(expected = InvalidInputException.class)
    public void extraOpenParens(){
        String input = "((x)";
        Lexer lexer = new Lexer(input);
        Parser parser = new Parser(lexer);
        parser.parse();
    }