Handle verbose name correctly in API test