Fixed test issues in provider module.