Update framework tools to add name in json

Name of the test can now come from the json description
rather than inferred from the directory. Old method remains to
keep functionality with older tests

Change-Id: I79f872103ae6a101b5cc799af91c933839f28dfb
diff --git a/verif/frameworks/write_test_json.py b/verif/frameworks/write_test_json.py
index 68dfc8f..d52a777 100644
--- a/verif/frameworks/write_test_json.py
+++ b/verif/frameworks/write_test_json.py
@@ -18,10 +18,14 @@
     ifm_shape=None,
     framework_exclusions=None,
     quantized=False,
+    test_name=None,
 ):
 
     test_desc = dict()
 
+    if test_name:
+        test_desc["name"] = test_name
+
     if tf_model_filename:
         test_desc["tf_model_filename"] = tf_model_filename