Fixed unit test for svr_task.