AIMTest: use define.mock
UniqueIdTest: use define.mock