TB test processing (hardware and software)