Test header of Output file re #6896

Signed-off-by: Karl Palmen <karl.palmen@stfc.ac.uk>
Modify and simplify test file re #6896

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