Update testbench to overwrite output instead of appending