UK's 'chaotic' testing regime 'broke all the rules'