public void copyCollection_doesNotPreservePermissions() throws XMLDBException {
Collection test = DatabaseManager.getCollection(baseUri + "/db/securityTest3", "test1", "test1");
CollectionManagementServiceImpl cms = (CollectionManagementServiceImpl) test.getService("CollectionManagementService", "1.0");
//create collection owned by "test1", and group "users" in /db/securityTest3
Collection source = cms.createCollection("source");
//as the 'test3' user copy the collection
test = DatabaseManager.getCollection(baseUri + "/db/securityTest3", "test3", "test3");
cms = (CollectionManagementServiceImpl) test.getService("CollectionManagementService", "1.0");
cms.copy("/db/securityTest3/source", "/db/securityTest3", "copy-of-source");