array allocation test