Fix for NPE caused by missing key

Change-Id: Ief049937c5bf7b63f0b87fdccf420df36814210a
diff --git a/TestON/JenkinsFile/FUNCJenkinsFile b/TestON/JenkinsFile/FUNCJenkinsFile
index d7d237d..9d1af0a 100644
--- a/TestON/JenkinsFile/FUNCJenkinsFile
+++ b/TestON/JenkinsFile/FUNCJenkinsFile
@@ -54,7 +54,7 @@
 for ( String test : FUNC.keySet() ){
     def toBeRun = testsToRun.contains( test )
     def stepName = ( toBeRun ? "" : "Not " ) + "Running $test"
-    def pureTestName = FUNC[ test ][ "test" ].split().head()
+    def pureTestName = ( FUNC[ test ].containsKey( "test" ) : FUNC[ test ][ "test" ].split().head() ? test )
     tests[ stepName ] = funcs.runTest( test, toBeRun, prop, pureTestName, false,
                                        FUNC, graph_generator_file, graph_saved_directory )
 }