Added unit tests
Fix saving new list items regression