Test that the automatic filtering works with embedded templates as well.