Fixed failing ACCEL scripts test case, improved iMake units func