RefExtract: amends tests