Prime Minister Boris Johnson, who is self-isolating after testing positive for Covid-19, said testing was “how we would unlock the coronavirus puzzle” and “defeat it in the end”.