Add test and functionality for todo item delete