fixed bug in data-provider-test