How to Reduce the Cost of Software Testing