Added CBLNestedModel and CBLJsonEncoding tests.