Add handling for class/method names as part of test label.