Added support of nested test tasks when tests are executed in SubProcess.