Fix template provider tests.