Update tests.test_task: remove dangling line