Added unit test for new CreateGroupingWorkspace functionality

Refs #10085