Fix validation callbacks without a provider

Fixes #4330 and unskips a few tests that were skipped.