GROOVY-6554: DateFormatThreadLocalTest refactoring.
GROOVY-6554: Added tests for serialize GString, StringBuilder/Buffer.