allocate test