Fix script task test.