add a test for catching parenthesis