Added unit test for new CreateGroupingWorkspace functionality

Refs #10085
Merge branch 'bugfix/10085_indirect_algorithm_CreateMappingFile' into develop