test nullify reference