allocation test