added test for task_model.php