Fixes an issue when referencing variables not previously set in higher scope.
* Adding set var and main/sub workflow tests * Deprecate SetWorkflowOutput and replace with SetOutput --------- Co-authored-by: Sipke Schoorstra <sipkeschoorstra@outlook.com>