Adding data provider method to test case.