I don't really like this change. Instead of the previous code, which made it clear where it expected to find the template loader, you've put a loop to eventually find the loader inside the loaders list. This demonstrates that you're not in control of what this test is doing, which is bad.