Added a route test for task creation.