Fix a svr_task unit test.