Migrating obsolete method calls and performance optimizing ContentServiceTests.cs
Migrating obsolete method calls and cleaning of StringExtensionsTests