refactor list tests to use dataProviders

So I just discovered phpunit's dataProviders and figured the list tests here would be perfect for them.