test reference nullify