I'd prefer testing the effects of the `name` method, rather than just testing its existence.