Add test cases for the half of the methods of OptimizationTools class.