Unit test checks duplicate names re #6983

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