Add more support for Jenkins test names being different from TestON names

Example SRHAsanity is HAsanity with a different paramd file

Change-Id: Ibfdcbdbea83ef5017074e0e24677ed17f39e28f6
diff --git a/TestON/JenkinsFile/SRJenkinsFile b/TestON/JenkinsFile/SRJenkinsFile
index 18958e3..1832b6c 100644
--- a/TestON/JenkinsFile/SRJenkinsFile
+++ b/TestON/JenkinsFile/SRJenkinsFile
@@ -56,7 +56,8 @@
 for ( String test : SR.keySet() ){
     toBeRun = testsToRun.contains( test )
     def stepName = ( toBeRun ? "" : "Not " ) + "Running $test"
-    tests[stepName] = funcs.runTest( test, toBeRun, prop, test, false,
+    def pureTestName = SR[ test ][ "test" ].split().head()
+    tests[stepName] = funcs.runTest( test, toBeRun, prop, pureTestName, false,
                                      SR, graph_generator_file, graph_saved_directory )
 }