avoid cyclic reference error in setter effect. first test for modification effects
tests for assigning local and global fields