added tests for DELETE /api/todos