unit tests for data provider