Updated the way refTests work so frequent tests don't break other running tests