Add tests for correct name values, which exposes that names are not sorted alphabetically.