Flag null test with ref to ticket