Test some of output file contents re #6896

Signed-off-by: Karl Palmen <karl.palmen@stfc.ac.uk>
Merge branch 'feature/6896_new_unit_test' into develop