COVID-19 testing pilots to be expanded in £500m package