Textile testing and quality control