"//c:security-manager/string(@last-account-id)";
result = xqs.query(lastAccountIdQuery);
assertEquals(RealmImpl.INITIAL_LAST_ACCOUNT_ID + 2, Integer.parseInt(result.getResource(0).getContent().toString())); //last account id should be that of 'jack'
//create a test collection and give everyone access
final CollectionManagementService cms = (CollectionManagementService)root.getService("CollectionManagementService", "1.0");
final Collection test = cms.createCollection("test");
final UserManagementService testUms = (UserManagementService)test.getService("UserManagementService", "1.0");
testUms.chmod("rwxrwxrwx");
//create and store a new document as 'frank'
final Collection frankTest = DatabaseManager.getCollection("xmldb:exist:///db/test", FRANK_USER, FRANK_USER);