Minor changes in ref tests