Test was failing if task was allocating TCB & Stack memory from DMA only pool which is not MALLOC_CAP_DEFAULT.