testing and quality control