Artificial Intelligence Methods for Optimization of the Software Testing Process