Add tests for AdHocSubProcess