Fixed tests for Processes refactoring