maiframe unit tests