Add tests for utils mj_* functions