[DF-1837] Fix variable type in Threads UnitTest