Adding a test for balanced parenthesis