Automation to verify pass-by-reference scenarios

@bug W-1867259@
@rev rjayaramappa@
Merging origin/tbliss/master-pending-halo-pass-by-ref-automation into master