Fixing regrtest