test using dataProvider