If doping dominated the prelude to the Rio Olympics after the exclusion of a number of Russian athletes, it turns out drug testing protocols undertaken during the Games had "serious failings," according to the World Anti-Doping Agency.