[OTF:1619] Implemented TestDataFactories for TextResources and TextResourceCodes returning DbContext moqs. Updated dependent test files.