Set name on generated test functions
When tests.aspects creates multiple tests for a specified list
of sites, it was setting the name of the generated test in the
test class dictionary, but nose 2.7 also needs the generated test
function to have name set.
(cherry picked from commit 4ec75cd7a3882f383fdfd0c3d6c6b2b13e839492)