Added tests for the clone method and changed embedded document fields