Do you need to add "test02" into the array? If you want to ignore it, you can do this:
Array set value at (loopindex,0) to tokenat(AJAX.lastdata, loopindex, newline&"test02,")
If you need to put "test02" into the array at index Y=0, and the rest of the string after the comma at index Y=1, do this:
local variable s=""
set s to tokenat(AJAX.lastdata, array, newline)
Array set value at (loopindex,0) to tokenat(s, 0, ",")
Array set value at (loopindex,1) to tokenat(s, 1, ",")