Product testing, control and safety