Fixed caching behavior of script info factor to cache per file type per project, rather than just per project.
Added additional tests for ScriptInfoFactory