Add test to ensure variables are not shared between instantiations