Tests for deleting todo item