fix reftest harness