Add test for not shared variables.