add more tests to test_tasks