Refactoring ProcessControl specs