- cast types in GET:/tasks
- add functional test GetTasks