cannot redeclare function in series of tests. use closure.
test if each url returns template file with right needle.