Detecting Errors in Generating a Certificate of Analysis