added delete test spec and functionality for todo items