Unit test for name setter.
Name tests.