Added check blackets count in TestParseLine().

Signed-off-by: Kouhei Maeda <mkouhei@palmtb.net>
Added parentheses counter.

Signed-off-by: Kouhei Maeda <mkouhei@palmtb.net>