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>
Merge branch 'feature/6896_new_unit_test' into develop