#175 make the mod_enum test more portable