Add unit test to test execution for grouped workspace re #6983

This unit test currently fails.

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