The Roman Senate has become concerned about the loyalty of the army in Gaul commanded by Julius Caesar. They claim that, of the 80,000 men in the army, at least 28,000 are foreign barbarians. Caesar believes there are fewer barbarians, so the Senate should not worry. He polls one legion of 1,000 men and finds that 340 of them are barbarians.
What is the test statistic for this hypothesis test?