Added tests for nested subprocesses
Updated test workflows. see #9965
Fixes to allow for nested-subprocesses to work.