add a check that we can trace back configuration errors involving
multiple names to the source
added tests for providers too - they cannot have duplicate names