Refactor test_task_create and remove summary=None spec