add test for editing lists