ref test