Better unittests in process.d