[Fixes #49092759] Added extensive testing for correctness of workflow inputs and input relationships.