DynamicAllocation test