Following on from this, I've scanned the pipe with an ultrasonic transducer and there's water inside but not all the way through to the end.
If it was at mains pressure I'd expect it to be under pressure and completely full? Or is it likely that its just an air bubble at the end?
Definitely not gas though.
If the capped end is at a high point, then below the cap there will be a pocket of air, yes.