Added fmid allocation testing