fixed tests

The data provider is using native php array but assertion was done on
the resulting array collection which made the test fail