Fix bug where test methods were named with data __name__ only