added unittest for broken lists (to many closing parenthesis).