Test that TemplateLookup dirs are not cleared during lms startup.

LMS-2498