Added process.resolve() on cdodisplay to properly trigger the main done() callback