add test for duplicate lists