Fixed chain providers type to array and added some unit test
Providers now returns LinkInterface