improve test coverage (provider error)