Add process event tests
Finally solve all the execution context/process duplication weirdness.