UK testing was “a shambles” so why hasn’t the government learnt from its mistakes, asks Paul Nurse