Some fixes to process
More processes tests and fixes