added in a test for appropriate child middleware hooks
typo
Merge pull request #2460 from LearnBoost/gh-1829

added in a test for saving subdocuments with the right hooks