@@ -0,0 +1,637 @@
+package com.couchbase.cblite;%0A%0Aimport com.couchbase.cblite.testapp.tests.CBLiteTestCase;%0A%0Aimport junit.framework.Assert;%0A%0Aimport java.util.HashMap;%0Aimport java.util.Map;%0A%0Apublic class DocumentTest extends CBLiteTestCase %7B%0A%0A    public void testNewDocumentHasCurrentRevision() throws CBLiteException %7B%0A%0A        CBLDocument document = database.createUntitledDocument();%0A        Map%3CString, Object%3E properties = new HashMap%3CString, Object%3E();%0A        properties.put(%22foo%22, %22foo%22);%0A        properties.put(%22bar%22, Boolean.FALSE);%0A        document.putProperties(properties);%0A        Assert.assertNotNull(document.getCurrentRevision());%0A%0A    %7D%0A%0A%7D

add testNewDocumentHasCurrentRevision() which detects a major issue I'm seeing in Grocery Sync