wrote some unit test for list and list_item