adding nested subdocument tests