Reenable unit tests for ScriptRepository

re #6175
Merge branch 'feature/6175_script_repo' into develop