local mem testcase
some more