Test fixes - Use CompanyThreadLocal, as it will be used to retrieve languages

cc/ @cgoncas