Test some of output file contents re #6896

Signed-off-by: Karl Palmen <karl.palmen@stfc.ac.uk>