adding unit test for matching-brackets?