T-cell assay as a diagnostic tool for tuberculosis