Added test using boxed allocator.