add allocations functional test