Added test for name formatting.