[api] require single_task only during test suite