add trace level option to tproc handler test. Fix bug in textwolf filter: chinese content swallowed because of an illegal signed/unsigned char comparison when excluding empty elements (with empty = true)