drys up the use of test_name with variables