Adding test for subdocument updates