Add test for shared variables code generation.
Add VariableBindings log output.
Add Test for shared variables in etalis.
Adapt pattern id.