Added 'check' command to perform an automatic PDF to TXT test conversion

Also:
- Added support for new 'tid' format.