Fix an issue with list tests.