Path Test: Fixed missing parameter in GetTempDir
Moved getJson and getCsv from short code into global template func map space
Fix race condition when resGetRemote() is called concurrently with the same URL