Add date to debug output.
Add tests for LocalizedTextType.