Testing Machine Learning Algorithms