'Test handling of syntax splitting of ()'

def testSyntaxSplitParen(self):

    src = ['(    echo    hi    )', '(echo    hi)']
    ref = ['(', 'echo', 'hi', ')']
    for ss in src:
        s = shlex.shlex(ss, punctuation_chars=True)
        result = list(s)
        self.assertEqual(ref, result, ("While    splitting    '%s'" % ss))
