fixed list item deletion
added tests to test restful list item deleting