Safe testing