add tests for allocator