use name method to get the current test name

fix for minitest 5