Algorithms testing and learning