Add a couple of different test functions to illustrate the differences between specifying an ID, not specifying an ID, and not persisting/flushing the embedded document. (GH #501)