Add Closure ref test