SERVER-7174: remove checkDoc, use element copy constructor, add test for log without apply