test msginit: reorder private methods