Refactoring tests for specimen group processor