validate on add_task, add test_get_task_handlers test