testbed for memory allocation