[PLAT-6703] Use dataProvider in test