Little correction to dataprovider.

There is a little correction to the method dataprovider, the parameters for the callback function are index, value.  Probably the problem is that in the forEach method of an array this two parameters are inverted.