Nesterov tests added. Some bugs must be fixed