New testcase for allocator.h and .cpp