Refactoring StringBuilder in NUnit