Add failing tests involving parentheses, and fix the failures