The government has raced to distribute tests after an initial delay.