testing if struct provides locality