Update UnitTest.cs

thread encrypt test