Add Ref test.