Tuberculosis testing patterns in South Africa to identify groups that would benefit from increased investigation