fix(module processor spec): change test to account for grouping by docType