We present a new inspection policy useful when testing is needed to detect failures of a single-unit system. It is supposed that tests may fail and give an erroneous result. The inspection policy minimizing cost per unit of time for an infinite time span is also discussed. In addition, we study the behaviour of the optimum policy for some time to failure distributions often assumed in reliability: exponential and Pareto.