refactor list tests to use dataProviders