Correct argument types in name sort tests

The "names" argument is supposed to be a list, not a
single string.

Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>