Code:
awk '/^"TEST/ { t=1 ; print; next }
t==1 { $1 = "0"; t=0; }1' filename
This causes the variable
t to be set to 1 on the following line after the TEST line. If this is the case, replace the first field with a zero, and set
t back to zero. The final 1 causes any line which reaches that point in the script to be printed. (It's a shorthand; the default action of awk is to print if the condition is true; and 1 as a condition is always true.)