[master] fix: replace rootPath in testJobDefinitions
The rootPath parameter is not relevant anymore since tests and src can be located in different directories.
The MR replaces rootPath by a parameter that we need to pass to the functions present in testJobDefinitions leading to the directory containing the tests.
BEGINRELEASENOTES *tests FIX: replace rootPath in testJobDefinitions ENDRELEASENOTES