Adding test for templates using the name node when out of template scope.
Making test more explicit.