Tidy code for PeaksWorkspaceTest.h re #7674

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