convert LDST test to accumulator style