add a autocreate flag for tests databases
add client tests
- testDatabaseIsNotExists()
- testDocumentIsNotExists()
Merge branch 'newTests'