Changed name collision test to check "list" instead of "List".