As written r and s should be the same rows. Get r , the index of rows where :testname == "test1", and use it for both columns channel and mode.
Also if using JMP13 or later, this syntax could save time.
r = dt << Get Rows Where( :testname == "test1" );
dt[r,{"channel","mode"}] = "N/A (test1)";