Add testdata, d2s file used in tests.
Add SetName method and tests.