chainlint.pl: add parser to identify test definitions