add test and fix to alter property visibility and set same property in same mutation