Added tests for inner flow variable passing.