Fix issue 1 with tests: let's just ignore 'matches' with unbalanced brackets

Closes issue #1.