deh.clearUnexpectedEventsAfterSettling();
// create server-side content
RepositoryAccessor repo = new RepositoryAccessor(config);
repo.tryDeleteResource("/content/test-root");
repo.createNode("/content/test-root", "sling:Folder");
repo.createFile("/content/test-root/file.txt", "hello, world".getBytes());
repo.doWithSession(new SessionRunnable<Void>() {
@Override
public Void doWithSession(Session session) throws RepositoryException {