Add tests for name, refine the way character() works