Use dataprovider for test