[#858] Set method.__name__ in test metaclass

Older pythons were not able to have unittest run single dynamically
generated tests