Added tests for GET /tasks route.