adding memoryAlloc.p test to part1 for reference