core: fix failig test around choosing default provider