test for appropriate subdocument validation errors indexation